package com.myx.service.comment;

import com.myx.dao.comment.CommentDao;
import com.myx.dao.comment.CommentDaoImpl;
import com.myx.pojo.Comment;

import java.util.List;

public class CommentServiceImpl implements CommentService{
    CommentDao commentDao=new CommentDaoImpl();
    @Override
    public List<Comment> getCommentListByNewsId(Integer newsId) {

        return this.commentDao.getCommentListByNewsId(newsId);


    }
}
